import SubApp from "@/views/SubApp/index.vue";
export const menu = [
    {
        path: "/home",
        component: () => import("@/views/Home/index.vue"),
        meta: {
            title: "首页",
        },
    },
    {
        path: "/app-vue",
        component: SubApp,
        meta: {
            title: "subVue",
        },
    },
    {
        path: "/app-vue/about", //子应用的子页面
        component: SubApp,
        meta: {
            title: "sub-vue-about",
        },
    },
    {
        path: "/app-react",
        component: SubApp,
        meta: {
            title: "subReact",
        },
    },
    {
        path: "/demo",
        component: () => import("@/views/Demo/index.vue"),
        meta: {
            title: "Demo",
        },
        children: [
            {
                path: "/demo1",
                component: () => import("@/views/Demo/index.vue"),
                meta: {
                    title: "Demo1",
                },
            },
        ],
    },
];
